// 测试
import {
  initSqlite as testInitSqlite,
  closeSqlite as testCloseSqlite,
  sqlh as testSqlh,
  type TestSqliteType
} from "@/sqlite/test";

// 日志
import {
  initSqlite as loggerInitSqlite,
  closeSqlite as loggerCloseSqlite,
  sqlh as loggerSqlh,
  type LoggerSqliteType
} from "@/sqlite/logger";

// 文件分片下载
import {
  initSqlite as sliceFileInitSqlite,
  closeSqlite as sliceFileCloseSqlite,
  sqlh as sliceFileSqlh,
  type SliceFileSqliteType
} from "@/sqlite/sliceFile";

// 排期信息
import {
  initSqlite as scheduleInitSqlite,
  closeSqlite as scheduleCloseSqlite,
  sqlh as scheduleSqlh,
  type ScheduleSqliteType
} from "@/sqlite/schedule";

// 素材信息
import {
  initSqlite as materialInitSqlite,
  closeSqlite as materialCloseSqlite,
  sqlh as materialSqlh,
  type MaterialSqliteType
} from "@/sqlite/material";


// 统一暴露 sqlite 相关的操作
export {
  testInitSqlite,
  testCloseSqlite,
  testSqlh,
  type TestSqliteType,

  loggerInitSqlite,
  loggerCloseSqlite,
  loggerSqlh,
  type LoggerSqliteType,
  
  sliceFileInitSqlite,
  sliceFileCloseSqlite,
  sliceFileSqlh,
  type SliceFileSqliteType,

  scheduleInitSqlite,
  scheduleCloseSqlite,
  scheduleSqlh,
  type ScheduleSqliteType,

  materialInitSqlite,
  materialCloseSqlite,
  materialSqlh,
  type MaterialSqliteType,
};
